﻿using System;
using TI_BLE_HCI_ClientLib.GenericHCIEntities;
using TI_BLE_HCI_ClientLib.HCIBaseEntities;

namespace TI_BLE_HCI_ClientLib.HCIEvents
{
    public class HCIEvent_GAP_Make_Discoverable_Done : HCIVendorSpecificEvent
    {
        private HCIVendorSpecificEventHostErrorCode _status;
        private ushort _interval;

        public ushort Interval
        {
            get { return _interval; }
            set { _interval = value; }
        }

        public HCIVendorSpecificEventHostErrorCode Status
        {
            get { return _status; }
            set { _status = value; }
        }

        public HCIEvent_GAP_Make_Discoverable_Done(
            HCIVendorSpecificEventHostErrorCode status,
            ushort interval)
            : base((ushort)HCIVendorSpecificEventEventOpcode.GAP_Make_Discoverable_Done)
        {
            _status = status;
            _interval = interval;
        }
    }
}
